package chap1;

import java.util.Calendar;
import java.util.Date;

public class DateAndCalendar {

	
	public static void main(String[] args) {
	DateAndCalendar testDateAndCalendar = new DateAndCalendar();
	testDateAndCalendar.testDate();
	testDateAndCalendar.testCalendar();
	}
	
	private void testDate() {
		Date d = new Date(1000000000000L);
		System.out.println(d.toString());
	}
	
	private void testCalendar() {
		Calendar c = Calendar.getInstance();
		System.out.println(c.toString());
	}
}
